#ifndef CUSTOM_CPU_WIDGET_H
#define CUSTOM_CPU_WIDGET_H

#include <QWidget>

class custom_cpu_widget : public QWidget
{
    Q_OBJECT
public:
    custom_cpu_widget(QWidget *parent = nullptr);
    void cpu_set_widget_level(int level);

protected:
    void paintEvent(QPaintEvent *event) override;

private:
    int w_width;
    int w_height;
    int cpu_used_level;

signals:

};

#endif // CUSTOM_CPU_WIDGET_H
